<%@page pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>
<c:import url="/layout.jsp">
<c:param name="title" value="Locale Index"/>
<c:param name="content">
<script type="text/javascript" src="this.js"></script>

<fmt:setLocale value="${f:locale()}"/>
<a href="${f:url('change?locale=en')}"><fmt:message key="en"/></a>
<a href="${f:url('change?locale=ja')}"><fmt:message key="ja"/></a><br />
Current locale: ${f:locale()}
</c:param>
</c:import>
